import "./App.css";

import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Header from "./components/Header";
import Home from "./components/Home";
import CompanyPage from './pages/Company';
import ProductsPage from './pages/Products';
import ContactPage from './pages/Contact';
import Address from "./pages/Address";
function App() {
  return (
    <>
      <Router>
        <Header />
        <Routes>
          <Route path="/" element={<Home />} />
          <Route path="/company" element={<CompanyPage />} />
          <Route path="/products" element={<ProductsPage />} />
          <Route path="/contact" element={<ContactPage />} />
          <Route path="/address" element={<Address />} />
        </Routes>
      </Router>
    </>
  );
}

export default App;
